<!DOCTYPE html>
<html ng-app="app">
<head>
    <title><%= title %></title>
    <link rel='stylesheet' href='/stylesheets/style.css'/>
    <meta charset="utf-8"/>
    <script src="javascripts/angular-1.2.2/angular.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        angular.module('app', [])
                .controller('testController', ['$scope', function ($scope) {
                    $scope.user = {
                        name: 'admin'

                    };
                }]);


    </script>

</head>
<body ng-controller="testController">
<h1><%= title %></h1>

<p>Welcome to <%= title %></p>
<form method="post" onsubmit="return false">
    <input type="text" value=""/>
    <input type="submit" value="submit"/>

    <input type="text"  />
    <p>{{user.name}}</p>

</form>


</body>
</html>
